package com.sk.gzwater.view;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TableRow;

public class ShengchanGuanli extends Activity {
	private TableRow shengchanshujutianbaoHeader,shengchanshujuChakan,shuizhiFenxi;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}
/*	
	protected void initialize() {
		viewClickListener tempClickListener = new viewClickListener();
		shengchanshujutianbaoHeader = (TableRow)findViewById(R.id.tr_shengchanguanli_shengchanshujutianbao);
		shengchanshujuChakan = (TableRow)findViewById(R.id.tr_shengchanshujuchakan);
		shuizhiFenxi = (TableRow)findViewById(R.id.tr_shuizhifenxi);
		shengchanshujutianbaoHeader.setOnClickListener(tempClickListener);
		shengchanshujuChakan.setOnClickListener(tempClickListener);
		shuizhiFenxi.setOnClickListener(tempClickListener);
	}
	
	protected class viewClickListener implements OnClickListener{
		@Override
		public void onClick(View v) {
			switch (v.getId()) {
			case R.id.tr_shengchanguanli_shengchanshujutianbao:
				startActivity(new Intent(ShengchanGuanli.this, HeaderShengchanshujutianbao.class));
				break;
			case R.id.tr_shengchanshujuchakan:
				startActivity(new Intent(ShengchanGuanli.this, ShengchanshujuChakan.class));
				break;
			case R.id.tr_shuizhifenxi:
				startActivity(new Intent(ShengchanGuanli.this, ShuizhiFenxi.class));
				break;
			default:
				break;
			}
			
		}
		
	}
*/
}
